Total Complexity | 204 |
Dependencies | 12 |
Dependents | 16 |
Total lines | 979 |
Lines of code | 662 |
Logical lines of code | 420 |
Comment lines | 156 |
Methods | 64 |
Properties | 19 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
setOption() | 34 | 36 | 82 | |
getOption() | 40 | 20 | 59 | |
save() | 43 | 13 | 43 | |
cmp() | 50 | 11 | 26 | |
delete() | 44 | 8 | 46 | |
triggerOrderDone() | 47 | 7 | 31 | |
tryUnlock() | 50 | 6 | 29 | |
_applyUnlock() | 59 | 6 | 13 | |
fromPost() | 49 | 5 | 28 | |
setName() | 57 | 4 | 17 | |
get_meta_datetime() | 66 | 5 | 7 | |
isPurchasable() | 66 | 4 | 8 | |
getPointsOnOrder() | 59 | 3 | 13 | |
initUniqueStackId() | 60 | 3 | 12 | |
install() | 60 | 3 | 12 | |
parseOrder() | 55 | 2 | 19 | |
_payAndContinue() | 68 | 3 | 6 | |
getOptions() | 66 | 3 | 8 | |
getTabId() | 70 | 3 | 6 | |
getPackageWPML() | 61 | 2 | 12 | |
addPoints() | 70 | 2 | 5 | |
setPoints() | 70 | 2 | 5 | |
usePoints() | 70 | 2 | 5 | |
_getGrantedUnlockables() | 69 | 2 | 6 | |
getDefaultConfiguration() | 64 | 2 | 10 | |
setOptions() | 72 | 2 | 5 | |
addEvent() | 70 | 2 | 6 | |
addUnlockable() | 70 | 2 | 6 | |
getStackId() | 74 | 2 | 4 | |
getSinglePostMetaIfExists() | 74 | 2 | 4 | |
formatPoints() | 69 | 2 | 7 | |
getId() | 79 | 2 | 3 | |
detach() | 69 | 2 | 7 | |
isActive() | 74 | 1 | 4 | |
isBuyable() | 81 | 1 | 3 | |
getPoints() | 78 | 1 | 3 | |
getGrantedUnlockablesForUser() | 75 | 1 | 4 | |
getGrantedUnlockablesWithPoints() | 80 | 1 | 3 | |
_setCustomOption() | 82 | 1 | 3 | |
_getCustomOption() | 82 | 1 | 3 | |
updateEvent() | 74 | 1 | 5 | |
updateUnlockable() | 74 | 1 | 5 | |
getUnlockables() | 82 | 1 | 3 | |
getEvents() | 82 | 1 | 3 | |
findEvent() | 80 | 1 | 3 | |
findUnlockable() | 80 | 1 | 3 | |
removeEvent() | 80 | 1 | 3 | |
removeUnlockable() | 80 | 1 | 3 | |
getStack() | 79 | 1 | 3 | |
getRawStackId() | 82 | 1 | 3 | |
setStackId() | 77 | 1 | 4 | |
getPostType() | 81 | 1 | 3 | |
getSimilarPostTypes() | 80 | 1 | 3 | |
ensureNameUnicity() | 65 | 1 | 7 | |
_customLoad() | 82 | 1 | 3 | |
subLoad() | 68 | 1 | 7 | |
_customSave() | 82 | 1 | 3 | |
userCan() | 82 | 1 | 3 | |
isDeletable() | 82 | 1 | 3 | |
reversePointsFormat() | 82 | 1 | 3 | |
formatPointsNumber() | 82 | 1 | 3 | |
getSymbol() | 79 | 1 | 3 | |
getName() | 82 | 1 | 3 | |
__construct() | 67 | 1 | 7 |